package bancosys.tec.persist.base.enumx;

import bancosys.tec.component.ComponentRuntimeException;
import bancosys.tec.exception.LocalizedMessageHolder;

/**
 * Lancada caso nao consiga encontrar enum para valor.
 * 
 * @author Marcio Ribeiro
 * @date May 18, 2008
 */
public class CouldNotGetEnumException extends ComponentRuntimeException {

    /**
     * C'tor
     * 
     * @param messageHolder the {@link LocalizedMessageHolder}
     * @param cause {@link Throwable}
     */
    public CouldNotGetEnumException(LocalizedMessageHolder messageHolder, Throwable cause) {
        super(messageHolder, cause);
    }

    /**
     * C'tor
     * 
     * @param messageHolder the {@link LocalizedMessageHolder}
     */
    public CouldNotGetEnumException(LocalizedMessageHolder messageHolder) {
        super(messageHolder);
    }
}
